package com.fearless.crm.workbench.service.impl;

import com.fearless.crm.workbench.dao.TranHistoryDao;
import com.fearless.crm.workbench.entity.TranHistory;
import com.fearless.crm.workbench.service.TranHistoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TranHistoryServiceImpl implements TranHistoryService {


    @Autowired
    private TranHistoryDao tranHistoryDao;


//展现交易历史列表,业务层方法
    public List<TranHistory> getHistoryListByTranIdService(String tranId) {


        List<TranHistory> tranHistoryList=tranHistoryDao.getHistoryListByTranIdDao(tranId);


        return tranHistoryList;
    }




}
